import { getAction, deleteAction, putAction, postAction, httpAction, downFile } from '@/api/manage'

/*-----------就业安置-----------*/
const serviceName = '/sjsk-crowmanage-service'
const addEmployPlacement = (params) => postAction(`${serviceName}/sjskTrainProgram/addEmployPlacement`, params)
const employIntentionDetails = (params) => postAction(`${serviceName}/sjskTrainProgram/employIntentionDetails`, params)
const employPlacementDetails = (params) => postAction(`${serviceName}/sjskTrainProgram/employPlacementDetails`, params)
const exportEmployIntention = (params) =>
  downFile(`${serviceName}/sjskTrainProgram/exportEmployIntention`, params, 'post')
const exportEmployPlacement = (params) =>
  downFile(`${serviceName}/sjskTrainProgram/exportEmployPlacement`, params, 'post')
const quit = (params) => postAction(`${serviceName}/sjskTrainProgram/quit`, params)
const viewEmployIntention = (params) => postAction(`${serviceName}/sjskTrainProgram/viewEmployIntention`, params)
const viewEmployPlacement = (params) => postAction(`${serviceName}/sjskTrainProgram/viewEmployPlacement`, params)
export {
  addEmployPlacement,
  employIntentionDetails,
  employPlacementDetails,
  exportEmployIntention,
  exportEmployPlacement,
  quit,
  viewEmployIntention,
  viewEmployPlacement,
}
